<?php
/**
 * Users Controller
 *
 * PHP version 5
 *
 * @category Controller
 * @package  MIAOCMS
 * @version  1.0
 * @author   Arlon <MIAOCMS@google.com>

 * @link     http://www.MIAOCMS.net
 */
class UserSettingsController extends AppController {

    var $name = 'UserSettings';
   
    function admin_parse_variable(){
    	$item = $this->WxVariable->find('first',array('conditions'=>array('name' => 'editor_style_colors','wx_id'=>0,'creator'=> $this->currentUser['id'])));
    	if(!empty($item)) {
    		$id = $item['WxVariable']['id'];
    	}
    }
   
}
?>